package com.wl.service;

import com.wl.domain.SysPermission;
import com.wl.domain.SysUser;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;
import java.util.Map;

public interface UserService extends UserDetailsService {

    SysUser findOne(Map<String, Object> pasMap);

    public SysUser findOneAuth(Map<String, Object> pasMap);

    public List<SysPermission> findPermissionByUsername(String username);


    public String testServiceExcep(int i);
}
